// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** getKuaishouDesc POST /api/kuaishou/desc */
export async function getKuaishouDescUsingPOST(
  body: API.KuaishouDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseDescVO_>('/api/kuaishou/desc', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getTagsDist POST /api/kuaishou/dist/tags */
export async function getTagsDistUsingPOST2(
  body: API.KuaishouDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListTagDistVO_>('/api/kuaishou/dist/tags', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getKuaishouList POST /api/kuaishou/list */
export async function getKuaishouListUsingPOST(options?: { [key: string]: any }) {
  return request<API.BaseResponseListKuaishou_>('/api/kuaishou/list', {
    method: 'POST',
    ...(options || {}),
  });
}

/** getKuaishouPage POST /api/kuaishou/page */
export async function getKuaishouPageUsingPOST(
  body: API.KuaishouQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponsePageKuaishouVO_>('/api/kuaishou/page', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
